package com.duruikang.LeaveAPI.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.duruikang.LeaveAPI.dao.TeacherDao;
import com.duruikang.LeaveAPI.entity.Teacher;
import com.duruikang.LeaveAPI.service.TeacherInformationService;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @author Drik
 * @date 2021-12-19 9:13
 */

@Service
public class TeacherInformationServiceImpl extends ServiceImpl<TeacherDao, Teacher> implements TeacherInformationService {
    @Override
    public Map<String, String> getTeacher(String accountId) {
        return baseMapper.getTeacherInformation(accountId);
    }
}
